<!--created by Chuanpeng.zhu@dhc.com.cn-->
<ion-view view-title="文字游戏">
  <ion-content>
    <div class="bg-background">
      <div class="padding-top-10 text-align-c" ng-if="game.time==0">未开赛</div>
      <div class="padding-top-10 text-align-c" ng-if="game.time==45">中场休息</div>
      <div class="padding-top-10 text-align-c" ng-if="game.time==90">已结束</div>
      <div class="padding-top-10 text-align-c" ng-if="(game.time>0&&game.time<45)||(game.time>45&&game.time<90)"
           ng-bind="game.time+'分钟'"></div>
      <div class="row row-no-padding padding-bottom-10">
        <div class="col text-align-c">
          <div ng-bind="teamA.game.score"></div>
          <div ng-bind="teamA.team.name+'（玩家）'"></div>
        </div>
        <div class="col-10 text-align-c">:</div>
        <div class="col text-align-c">
          <div ng-bind="teamB.game.score"></div>
          <div ng-bind="teamB.team.name+'（电脑）'"></div>
        </div>
      </div>
    </div>
    <div class="padding-top-10">
      <div class="text-align-c">场上球员</div>
      <div class="row row-no-padding padding-bottom-10">
        <div class="col text-align-c">
          <div ng-repeat="data in teamA.member track by $index">
            <span ng-repeat="member in teamA.game.goal track by $index">
              <span class="dhcfont" ng-if="member.name==data.name">&#xe65f;</span>
            </span>
            <span ng-bind="data.position"></span>
            <span ng-bind="data.name"></span>
          </div>
        </div>
        <div class="col text-align-c">
          <div ng-repeat="data in teamB.member track by $index">
            <span ng-repeat="member in teamB.game.goal track by $index">
              <span class="dhcfont" ng-if="member.name==data.name">&#xe65f;</span>
            </span>
            <span ng-bind="data.position"></span>
            <span ng-bind="data.name"></span>
          </div>
        </div>
      </div>
    </div>
    <div class="indent border-top padding-top-10">
      <div class="" ng-repeat="item in detail track by $index">
        <div ng-bind="item" ng-class="$index<detail.length-1?'color-text-s':''"></div>
      </div>
    </div>
  </ion-content>
</ion-view>
